<?php
/*
 * Page Name: Quick Links page
 * Author: Avik Kundu
 * Created On : 10th August,2011
 * Modified On :
 * 
 */

include_once 'conn.php';
error_reporting(0);
session_start();
$arrQuickLinks = array();
$myClass = new clsEssential();
$arrQuickLinks = $myClass->quickLinks();

//print_r($arrQuickLinks);
?>
<div class="quicklinkarea">
   
   <div>
     
	      <!--content area left-->
	     <div class="quickliknmdlmdl">
		   
		  <div>
		   <div class="quicklinkheading">
		    QUICK LINKS
		   </div>
		   </div>
		   <!-- -->
		  	    
		   <?php 
		   foreach($arrQuickLinks as $LinksNameLink)
		   {
		   ?>
		   <div class="quicklink">
		     <div class="shape"><img src="images/shape1.gif" alt="shape" /></div>
			 <div class="link1">
			  <a href="<?php echo $LinksNameLink['page_link']; ?>"><?php echo $LinksNameLink['page_name']; ?></a>
			 </div>
		   </div>
		   <?php 
		   }
		   ?>
		   <!-- Used Vehicles -->
		   <div class="quicklink">
		     <div class="shape"><img src="images/shape1.gif" alt="shape" /></div>
			 <div class="link1">
			  <a href="vehicles.php?type=used">View our Inventory!</a>
			 </div>
		   </div>

 	
		   <!-- Credit application -->
		   <div class="quicklink">
		     <div class="shape"><img src="images/shape1.gif" alt="shape" /></div>
			 <div class="link1">
			  <a href="credit_application_form.php">Get Pre-Approved!</a>
			 </div>
		   </div>

 	
		   <!-- Specials -->
		   <div class="quicklink">
		     <div class="shape"><img src="images/shape1.gif" alt="shape" /></div>
			 <div class="link1">
			  <a href="specials.php">Check out our Specials!</a>
			 </div>
		   </div>

		   <!--Hours -->
		   <div class="quicklink">
		     <div class="shape"><img src="images/shape1.gif" alt="shape" /></div>
			 <div class="link1">
			  <a href="hours-of-operation.php">Hours of Operation</a>
			 </div>
		   </div>


 	
		   <!--Book a Test Drive -->
		   <div class="quicklink">
		     <div class="shape"><img src="images/shape1.gif" alt="shape" /></div>
			 <div class="link1">
			  <a href="Book-A-Test-Drive.php">Book a Test Drive</a>
			 </div>
		   </div>

		   <!-- What's my Trade Worth? -->
		   <div class="quicklink">
		     <div class="shape"><img src="images/shape1.gif" alt="shape" /></div>
			 <div class="link1">
			  <a href="whats-my-trade-worth.php">What's my Trade Worth?</a>
			 </div>
		   </div>

		   
		   <!-- Schedule Service -->
		   <div class="quicklink">
		     <div class="shape"><img src="images/shape1.gif" alt="shape" /></div>
			 <div class="link1">
			  <a href="schedul-service-appt.php">Schedule A Service Appt</a>
			 </div>
		   </div>

		   

		   <!--Contact Us -->
		   <div class="quicklink">
		     <div class="shape"><img src="images/shape1.gif" alt="shape" /></div>
			 <div class="link1">
			  <a href="contact-us">Contact Us</a>
			 </div>
		   </div>
		   <!--End-->
		   
	     </div>
		 <!--content area left end-->
	
   </div>
   <div>
     <div class="quickliknbtmleft">
	 </div>
	 <div class="quickliknbtmmdl">
	 </div>
	 <div class="quickliknbtmright">
	 </div>
   </div>
</div>